<HTML>
<HEAD>
<TITLE>Create domain</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">
<link rel="stylesheet" href="template/stylesheet.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginheight=0 marginwidth=0 rightmargin=0 bottommargin=0 background="images/back.gif" link="#0000FF" vlink="#0000FF" alink="#0000FF">





<div id="login_header">
<img id="login_header_logo" src="template/images/postbox.png" />
<img id="login_header_logo" src="template/images/postfixadmin2.png" />
</div>
<div id="menu">
<ul>

<TMPL_IF NAME="WELCOME">
  You called as:<b><strong class="yellow1"> <TMPL_VAR NAME="USERSE"> </strong></b> 
  <a href="index.pl?action=logout"><b><strong class="yellow1"> To go out</a></strong></b> 
  </br> </br> </br> </br>
</TMPL_IF>

   <li><a target="_top" href="index.pl">home</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listdomain">Domain List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listvirtual">Virtual List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createdomain">New Domain</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createalias">Add Alias</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createmailbox">Add Mailbox</a></li>
   
      <TMPL_IF NAME="ADMIN_SEE">
   </br> </br> </br> </br>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=logms">Log SimpleMail</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=log">Log MTA</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createadmin">Add Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listadmin">Domain Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=setting">Setting</a></li>
   </TMPL_IF>
   
</ul>
</div>



<div id="edit_form">
<form name="create_domain" method="post">
<table>

      <TMPL_IF NAME="DOMAIN_ERROR">
      <td colspan="3" class="standout">The No added domain!</span></td>
      </TMPL_IF>

   <tr>
     <input type="hidden" name="postfixform" value="createdomain2">
     <td colspan="3"><h3>Add a new domain</h3></td>
   </tr>
   <tr>
      <td>Domain:</td>
      <td><input class="flat" type="text" name="fDomain" value="" /></td>
       <td>&nbsp;</td> 
      <TMPL_IF NAME="fDomain_correct_exist">
      <td><span class="error_msg">The domain already exists!</span></td>
      </TMPL_IF>
      
      <TMPL_IF NAME="fDomain_correct">
      <td><span class="error_msg">The domain uncorrect!</span></td>
      </TMPL_IF>
      
      <TMPL_IF NAME="fDomain_limit">
      <td><span class="error_msg">The domain limit created, plise see tariff!</span></td>
      </TMPL_IF>
      
   </tr>

   <tr>
      <td>Description:</td>

      <td><input class="flat" type="text" name="fDescription" value="" /></td>
      <td>&nbsp;</td>
      <TMPL_IF NAME="fDescription_correct">
      <td><span class="error_msg">The Description uncorrect!</span></td>
      </TMPL_IF>
   </tr>



   <tr>
      <td>Aliases:</td>
      <td><input class="flat" type="text" name="fAliases" value="10" /></td>
      <td>-1 = disable | 0 = unlimited</td>
      <TMPL_IF NAME="fAliases_correct">
      <td><span class="error_msg">The Aliases uncorrect!</span></td>
      </TMPL_IF>
      
      <TMPL_IF NAME="fDomain_alias">
      <td><span class="error_msg">The Aliases limit!</span></td>
      </TMPL_IF>
      
     <TMPL_IF NAME="fAliases_no_unlim">
      <td><span class="error_msg">The Aliases no unlimited!</span></td>
      </TMPL_IF>
      
   </tr>

   <tr>
      <td>Mailboxes:</td>
      <td><input class="flat" type="text" name="fMailboxes" value="10" /></td>
      <td>0 = unlimited</td>
      <TMPL_IF NAME="fMailboxes_correct">
      <td><span class="error_msg">The Mailboxes uncorrect!</span></td>
      </TMPL_IF>
      
      <TMPL_IF NAME="fDomain_mailbox">
      <td><span class="error_msg">The Mailboxes limit!</span></td>
      </TMPL_IF>

      <TMPL_IF NAME="fDomain_no_unlim">
      <td><span class="error_msg">The Mailboxes no unlimited!</span></td>
      </TMPL_IF>

   </tr>
   
   <tr>
      <td>Max Quota:</td>

      <td><input class="flat" type="text" name="fMaxquota" value="0" /></td>
      <td>MB<br /> 0 = unlimited</td>
  
      <TMPL_IF NAME="fMaxquota_correct">
      <td><span class="error_msg">The Mailboxes uncorrect!</span></td>
      </TMPL_IF>
      
      <TMPL_IF NAME="fDomain_limitmb">
      <td><span class="error_msg">The Mailboxes limit!</span></td>
      </TMPL_IF>
      
     <TMPL_IF NAME="fMaxquota_no_unlim">
      <td><span class="error_msg">The Mailboxes no unlimited Quota!</span></td>
      </TMPL_IF>
   </tr>
   

   <tr>
      <td>Mail server is backup MX:</td>
      <td>      <input class="flat" type="checkbox" name="fBackupmx"  />
      </td>
      <td>&nbsp;</td>

   </tr>
   
   
   <tr>
      <td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="Add Domain" /></td>
   </tr>
    <tr>
      <td colspan="3" class="standout">&nbsp;</td>
   </tr>
     
   <TMPL_IF NAME="domain_added">
    <tr>
      <td colspan="3" class="standout">Domain has been added!<br /><TMPL_VAR NAME="DOMAIN"></br /></td>
   </tr>
   </TMPL_IF>
   
</table>
</form>
</div>




</table>
<div id="footer">
<a target="_blank" href="http://postfixadmin.com/">Design by Postfixadmin. All rights reserved</a>
</div>





<TR>
		<TD valign="top" bgcolor="#FFFFFF">
     <p align="center"><small><font size="1" face="Verdana">Copyright 2008++ <a target="_blank" href="http://unixforum.org.ua">Simplemail</a>
        . All rights reserved</font></small></p>
       </TD>
	</TR>

</BODY>
</HTML>